home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ian & Stuart's Australian Mac: Not for Sale
/
Another.not.for.sale (Australia).iso
/
fade into you
/
getting there
/
WWW
/
MacHTTP Extras
/
tr-www 1.1
/
tr-www.config
< prev
next >
Wrap
Text File
|
1994-07-27
|
2KB
|
52 lines
# This is the TR-WWW configuration file
# This file must have the same name as the TR application to which it applies,
# with .config appended, eg tr-www.config for application tr-www.cgi
# NOTE - these are all defaults that will be used unless the client overrides it
###################################
# adrian vanzyl, adrian@medlan.med.monash.edu.au
###################################
# To have TR return the currently available document set after listing the .prompt file, set to TRUE
SHOWDOCUMENTSET TRUE
# To return context lists, set to CONTEXT, or for relevance finds, set to RELEVANCE
# This would usually be overridden by the client's form
RESULTSMODE RELEVANCE
# The number of hits to return when doing a context find, around 40 is a good number
# This would usually be overridden by the client's form
MAXHITS 50
# Set to TRUE to disallow clients from being able to specifiy a $path set of files
# Use this when a preloaded document set is provided, and you don't want clients to override it
IGNOREPATH FALSE
# Set to PHRASE, AND, OR, NEAR, NOTNEAR to specify the default search mode
SEARCHMODE OR
# Default number of chars between words when doing a NEAR or NOTNEAR search
NEARVALUE 40
# Default number of chars to return when a context line has been selected.
# For small files, where you want the entire file to be returned, make this a large nr,
# eg 999999. Suggested value is 1500 chars either side of match
MARGINS 2000
# Specify the name of the default document set, can be a filename or foldername
# remember that documents have to be at or below machttp in the hierarchy
# folders and aliases are OK
DOCUMENTSET Docs
# Quit set to true forces tr-www to quit after completing each request
# Leave it set to false to avoid wasted time in reloading tr-www for each search
QUIT FALSE
# EntireFile set to true allows the user to retrieve the entire file in its native
# format when viewing an extracted chunk from a context search
# if set to false, disallows this by not showing the link to the whole file
# use FALSE when you don't want people to accidentally download large files
ENTIREFILE TRUE